sleep 2;

[_x] execVM "ShowAgentsPosition.sqf";

CivilsDetectingHumans=[];

player globalChat "I'AM AN AGENT";

// launch civil detection script foreach human
{

    _x globalChat format["test %1",_x];
    [_x] execVM "civilDetection.sqf";

}forEach HumanGroup;

onMapSingleClick "[_pos,_units] ExecVM 'AgentMapRespawn.sqf'; true;";


/* _civilPos=getMarkerPos "mTestCab";

_camera = "camera" camCreate [0,0,200];

_camera camSetPos [(_civilPos select 0),(_civilPos select 1),(_civilPos select 2)+300];
_camera camSetTarget getPos player;

_camera camSetFov 0.700;
_camera cameraEffect ["internal","back"];
_camera camCommit 0; */
